package top.ffhome.multithread.ch07.demo03;

import java.util.concurrent.Executors;

public class Main {
    //7-8
    public static void main(String[] args) {
        System.out.println("main BEGIN");
        Host host = new Host(Executors.defaultThreadFactory());
        host.request(10, 'A');
        host.request(20, 'B');
        host.request(30, 'C');
        System.out.println("main END");
    }
}
